//
//  AdvertComment.swift
//  Automobile
//
//  Created by erkebulan elzhan on 8/24/20.
//  Copyright © 2020 erkebulan elzhan. All rights reserved.
//

import Foundation


struct ParentRef: Decodable {
    var id: Int
    var advert: Int
    var text: String
    var profile: String
}

struct AdvertComment: Decodable {
    var id: Int
    var advert: Int
    var text: String
    var profile: String?
    var created: String?
    var parent: ParentRef? = nil
}
